Skip to content

Conversation

Payal-Goswami
Copy link
Contributor

@Payal-Goswami Payal-Goswami commented Oct 1, 2025

Resolves #8169.

Description

This pull request fixes the linting issues reported in #8169:

  • Moved cb function to outer scope in utils/async/reduce-right/lib/limit.js to comply with stdlib/no-unnecessary-nested-functions.
  • Removed unused eslint-disable directive in assert/is-nonpositive-number/benchmark/benchmark.js

Related Issues

This pull request:

Questions

No.

Other

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Oct 1, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Oct 1, 2025

Coverage Report

Package Statements Branches Functions Lines
assert/is-nonpositive-number $\color{green}245/245$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}245/245$
$\color{green}+100.00\%$
utils/async/reduce-right $\color{green}559/559$
$\color{green}+100.00\%$
$\color{green}66/66$
$\color{green}+100.00\%$
$\color{green}9/9$
$\color{green}+100.00\%$
$\color{green}559/559$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

Signed-off-by: Philipp Burckhardt <[email protected]>
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thank you!

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Oct 1, 2025
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Oct 1, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Oct 1, 2025

PR Commit Message

chore: fix JavaScript lint errors

PR-URL: https://github.com/stdlib-js/stdlib/pull/8176
Closes: https://github.com/stdlib-js/stdlib/issues/8169

Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Philipp Burckhardt <[email protected]>
Signed-off-by: Philipp Burckhardt <[email protected]>

Please review the above commit message and make any necessary adjustments.

@Planeshifter Planeshifter merged commit 78351b3 into stdlib-js:develop Oct 1, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Ready To Merge A pull request which is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants